package com.sinodata.bsm.common.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ResTypeTooltip entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "RES_TYPE_TOOLTIP")
public class ResTypeTooltip implements java.io.Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 3923375052150676190L;

    // Fields  
    private Long id;
    private String tooltipInfo;

    // Constructors

    /** default constructor */
    public ResTypeTooltip() {
    }

    /** minimal constructor */
    public ResTypeTooltip(Long id) {
        this.id = id;
    }

    /** full constructor */
    public ResTypeTooltip(Long id, String tooltipInfo) {
        this.id = id;
        this.tooltipInfo = tooltipInfo;
    }

    // Property accessors
    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 18, scale = 0)
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "TOOLTIP_INFO", length = 2048)
    public String getTooltipInfo() {
        return this.tooltipInfo;
    }

    public void setTooltipInfo(String tooltipInfo) {
        this.tooltipInfo = tooltipInfo;
    }

    @Override
    public String toString() {
        return "ResTypeTooltip [id=" + id + ", tooltipInfo=" + tooltipInfo + "]";
    }

}